package com.bytech.common.biz.entity.music;

import com.bytech.common.biz.enums.CommonStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Author Zhao
 * @Create 2021/12/23 16:29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MusicDto extends Music {
    private static final long serialVersionUID = -1679156885820068539L;

    public String getStatusDesc() {
        return CommonStatusEnum.of(getStatus()).getDesc();
    }
}
